﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package com.tremormedia.acudeo.ad.enums {
    import flash.utils.*;
    import flash.errors.*;

    public class AdSubType {

        private var _value:String;

        public static const INSTREAM_IMAGE:AdSubType = new AdSubType(EnumRestrictor, "instreamimage");
;
        public static const INNOVID:AdSubType = new AdSubType(EnumRestrictor, "innovid");
;
        public static const OVERLAY:AdSubType = new AdSubType(EnumRestrictor, "overlay");
;
        public static const CYA:AdSubType = new AdSubType(EnumRestrictor, "cya");
;
        public static const VCHOICE:AdSubType = new AdSubType(EnumRestrictor, "vchoice");
;
        public static const PREROLLOVERLAY:AdSubType = new AdSubType(EnumRestrictor, "prerolloverlay");
;

        public function AdSubType(_arg1:Class, _arg2:String){
            if (_arg1 !== EnumRestrictor){
                throw (new IllegalOperationError("Invalid constructor access"));
            };
            _value = _arg2;
        }
        public function toString():String{
            return (_value);
        }

        public static function valueOf(_arg1:String):AdSubType{
            var _local3:XML;
            var _local2:XML = describeType(AdSubType);
            for each (_local3 in _local2.constant) {
                if (_arg1 == AdSubType[_local3.@name]){
                    return (AdSubType[_local3.@name]);
                };
            };
            return (new AdSubType(EnumRestrictor, _arg1));
        }

    }
}//package com.tremormedia.acudeo.ad.enums 

class EnumRestrictor {

    public function EnumRestrictor(){
    }
}
